home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4798 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.duke.edu!usenet
  2. From: Pete Tandler <ptandler@inxs.chem.duke.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: f2c installation
  5. Date: 7 Feb 1996 03:29:29 GMT
  6. Organization: Duke University, Durham, NC, USA
  7. Message-ID: <4f96ap$sqb@news.duke.edu>
  8. NNTP-Posting-Host: inxs.chem.duke.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.2 sun4c)
  13. X-URL: http://smithers.dejanews.com/cgi-bin/dngetdoc.html?RECNUM=3245938+SERVER=dnserver.dbjan+CONTEXT=5912.2712.
  14.  
  15. Hello,
  16.  
  17. I've down loaded the f2c utility from netlib.att.com and am having
  18. difficulties getting the converted code to compile.  At first I did
  19. not have the libraries libI77 and libF77, but I've since downloaded
  20. the code for both of the libraries.  I've compiled the libraries and
  21. am using the libraries, but the converted code is still not compiling.
  22. The compiling is getting stuck at the linking stage, where the comp-
  23. iler is complaining of undefined function calls (to the library fun-
  24. ctions).
  25.  
  26. I've tried on compiling the converted code using Borland C 3.0 in DOS
  27. and the gcc and SUN cc compilers in UNIX.  They all give me the same
  28. errors.  I've searched the library libI77 and libF77 files for a 
  29. couple of functions.  The calling conventions seems to be different
  30. between the library functions and the converted c code.   What am I
  31. doing wrong?  Is it in generating the libraries or the converting or
  32. the compiling stage?
  33.  
  34. The FORTRAN code does compile using the sun f77 compiler.
  35.  
  36. Pete Tandler
  37. ptandler@inxs.chem.duke.edu
  38.  
  39.